package com.bgs.eat.commodity.entity;

import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

/**
 * @ClassName CommoditySoldNoteEntity
 * @Description TODO 商品销售记录实体类
 * @Author lzy
 * @Date 2022/10/27 13:55
 **/
@Data
@Table(name = "commodity_sold_note")
public class CommoditySoldNoteEntity {

    private Integer id;

    private Integer orderId; // 订单id

    private Integer commodityId; // 商品id

    private Date createTime; // 创建时间

    private Date updateTime; // 修改时间

    private Integer sum; // 商品数量

    private Integer userProtalId; // 购买用户Id

    private Integer shopId; // 店铺id

}
